[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Syntax
C# |
---|
[SerializableAttribute] public class OrderedMultiDictionary<TKey, TValue> |
Visual Basic (Declaration) |
---|
<SerializableAttribute> _ Public Class OrderedMultiDictionary(Of TKey, TValue) |
Visual C++ |
---|
[SerializableAttribute] generic<typename TKey, typename TValue> public ref class OrderedMultiDictionary |
Type Parameters
- TKey
- TValue
The type exposes the following properties.
Public Properties
Name | Description | |
---|---|---|
Count |
Gets the number of key-value pairs in the dictionary. Each value associated
with a given key is counted. If duplicate values are permitted, each duplicate
value is included in the count.
(Overrides MultiDictionaryBase<(Of <TKey, TValue>)>..::Count.) | |
Item |
Returns a collection of all of the values in the dictionary associated with key,
or changes the set of values associated with key.
If the key is not present in the dictionary, an ICollection enumerating no
values is returned. The returned collection of values is read-write, and can be used to
modify the collection of values associated with the key.
(Inherited from MultiDictionaryBase<(Of <TKey, TValue>)>.) | |
KeyComparer |
Returns the IComparer<T> used to compare keys in this dictionary.
| |
Keys |
Gets a read-only collection all the keys in this dictionary.
(Inherited from MultiDictionaryBase<(Of <TKey, TValue>)>.) | |
KeyValuePairs |
Gets a read-only collection of all key-value pairs in the dictionary. If a key has multiple
values associated with it, then a key-value pair is present for each value associated
with the key.
(Overrides MultiDictionaryBase<(Of <TKey, TValue>)>..::KeyValuePairs.) | |
ValueComparer |
Returns the IComparer<T> used to compare values in this dictionary.
| |
Values |
Gets a read-only collection of all the values in the dictionary.
(Inherited from MultiDictionaryBase<(Of <TKey, TValue>)>.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection<(Of <T>)>..::IsReadOnly | (Inherited from CollectionBase<(Of <T>)>.) | |
IDictionary<(Of <TKey, ICollection<(Of <TValue>)>>)>..::Item | (Inherited from MultiDictionaryBase<(Of <TKey, TValue>)>.) | |
IDictionary<(Of <TKey, ICollection<(Of <TValue>)>>)>..::Values | (Inherited from MultiDictionaryBase<(Of <TKey, TValue>)>.) | |
ICollection..::IsSynchronized |
Indicates whether the collection is synchronized.
(Inherited from CollectionBase<(Of <T>)>.) | |
ICollection..::SyncRoot |
Indicates the synchronization object for this collection.
(Inherited from CollectionBase<(Of <T>)>.) |